import Login from './components/Login.vue'
import Layout from './components/Layout.vue'
import * as VueRouter from 'vue-router'
const routes = [
    { path: '/', redirect:'/login' },
    { path: '/login', component:Login },
    { path: '/layout', component:Layout },
  ]
  export const router = VueRouter.createRouter({
    history: VueRouter.createWebHashHistory(),
    routes, 
  })